﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="CouponMgmt.aspx.cs" Inherits="WebUI.AdminSite.Coupon.CouponMgmt" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript" src="../../Scripts/jquery-1.6.2.min.js"></script>
<link rel="stylesheet" href="../../Scripts/jQueryUI/css/smoothness/jquery-ui-1.8.15.custom.css" type="text/css" />	
<script type="text/javascript" src="../../Scripts/jQueryUI/js/jquery-ui-1.8.15.custom.min.js"></script>    
<script type="text/javascript" src="../../Scripts/JSBack.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        InitProductMng();
    });
</script>
couponname : <asp:TextBox ID="txtCouponName" runat="server" /><br />
product category : <asp:TextBox ID="txtProductCategory" runat="server" /><br />
product : <asp:TextBox ID="txtProduct" runat="server" /><br />
datetime : <input id="fromdate" type="text" size="10" name="txtfromdate" style="width:100px;" value='<%=datefrom %>'/>&nbsp;~&nbsp;
           <input id="todate" type="text" size="10" name="txttodate" style="width:100px;" value='<%=dateto %>' /><br />
status : <asp:DropDownList ID="drpStatus" runat="server">
    <asp:ListItem Value="">---</asp:ListItem>
    <asp:ListItem Value="NORMAL">NORMAL</asp:ListItem>
    <asp:ListItem Value="STANDBY">STANDBY</asp:ListItem>
</asp:DropDownList><br />
<asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearchClick"/>
<a href="CouponCreate.aspx">Created</a>
<asp:GridView ID="grdCoupon" runat="server" AutoGenerateColumns="False">
    <Columns>
        <asp:BoundField DataField="Index" HeaderText="Index" SortExpression="Index" />
        <asp:BoundField DataField="CouponNo" HeaderText="CouponNo" 
            SortExpression="CouponNo" />
        <asp:BoundField DataField="CouponName" HeaderText="CouponName" 
            SortExpression="CouponName" />
        <asp:BoundField DataField="CouponDesc" HeaderText="CouponDesc" 
            SortExpression="CouponDesc" />
        <asp:BoundField DataField="PriceValue" HeaderText="PriceValue" 
            SortExpression="PriceValue" />
        <asp:BoundField DataField="PercentValue" HeaderText="PercentValue" 
            SortExpression="PercentValue" />
        <asp:BoundField DataField="MinimumUse" HeaderText="MinimumUse" 
            SortExpression="MinimumUse" />
        <asp:BoundField DataField="ProductCategoryNo" HeaderText="ProductCategoryNo" 
            SortExpression="ProductCategoryNo" />
        <asp:BoundField DataField="ProductCategoryName" 
            HeaderText="ProductCategoryName" SortExpression="ProductCategoryName" />
        <asp:BoundField DataField="ProductCode" HeaderText="ProductCode" 
            SortExpression="ProductCode" />
        <asp:BoundField DataField="ProductName" HeaderText="ProductName" 
            SortExpression="ProductName" />
        <asp:BoundField DataField="FromDate" HeaderText="FromDate" 
            SortExpression="FromDate" />
        <asp:BoundField DataField="ToDate" HeaderText="ToDate" 
            SortExpression="ToDate" />
        <asp:BoundField DataField="Dayperiod" HeaderText="Dayperiod" 
            SortExpression="Dayperiod" />
        <asp:BoundField DataField="CreatedDate" HeaderText="CreatedDate" 
            SortExpression="CreatedDate" />
        <asp:BoundField DataField="CreatedUser" HeaderText="CreatedUser" 
            SortExpression="CreatedUser" />
        <asp:BoundField DataField="Status" HeaderText="Status" 
            SortExpression="Status" />
    </Columns>
</asp:GridView>
</asp:Content>
